import {combineReducers} from 'redux'
import {routerReducer} from 'react-router-redux'

import component from './component'

//把所有reducer合併到一個
const rootReducer = combineReducers({
	component,
	routing: routerReducer //整合路由
})

export default rootReducer